//package com.plian.system.wrapper.fr.veihicle;
//
//import com.plian.system.dto.fr.vehicle.VehicleLeaseDTO;
//import com.plian.system.entity.fr.vehicle.VehicleLease;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.fr.vehicle.VehicleLeaseVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * 车辆租赁管理包装类,返回视图层所需的字段
// *
// * @author jianglei
// * @since 2019-09-29
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface VehicleLeaseWrapper extends BaseWrapper<VehicleLease, VehicleLeaseDTO, VehicleLeaseVO> {
//
//
//	@Override
//	@Mappings(value = {
//			@Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "updateUser", target = "updateUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "carModelId", target = "carModelName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "applicationId", target = "applicationName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "useCompanyId", target = "useCompanyName", qualifiedByName = ORG_ID_TO_NAME),
//			@Mapping(source = "approvedUser", target = "approvedUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "externalRentalCompany", target = "companyName")
//	})
//	VehicleLeaseVO entityToVO(VehicleLease entity);
//}
